home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu642.dms / pu642.adf / t / TxEd.Backup
Text File  |  1994-05-25  |  23KB  |  514 lines

  1.                           CALORIE COUNTER DIARY
  2.                           ---------------------
  3.  
  4.                                  Preface
  5.                                 ---------
  6.  
  7.         Program writing is challenging and  fun to do. Writing documents,
  8. is like, after having ate your  favourite  meal, you're told that now you
  9. have to wash the plates after you.
  10.  
  11.                                Introduction
  12.                               --------------
  13.  
  14.         Calorie Counter Diary is a program intended to be used by anyone,
  15. dieting or not, wishing to keep to a calorie controlled diet.
  16.         If you're dieting,  to  lose  or  gain  weight,  this  program is
  17. definitely for you. Whatever diet  you  are  using, requires you to count
  18. the calories consumed in some  form  or  other.  This program will do all
  19. that for you, plus more.
  20.         If you are one of  the  lucky  ones   not requiring to diet, this
  21. program will be helpful to you as well,  as  it will allow you to keep an
  22. eye on the type of nutrients that you are consuming. It's not enough that
  23. the calories you consume are low, it  is very important to know what type
  24. of nutrients these calories are made of.
  25.         This program can be  used  by  several  people  at the same time,
  26. since it keeps an  individual  record  for  each  user.  Ideal for use in
  27. health clubs.
  28.  
  29.                                Conditions
  30.                               ------------
  31.  
  32.         Calorie Counter Diary is released under the SHAREWARE conditions.
  33. The registered version can only be  obtained from me, the programmer, and
  34. you are not allowed to make  copies  of  the program except for yourself,
  35. the registered user. Each copy contains  a ten digit number hidden within
  36. the program which makes it easy to identify where any copies being spread
  37. originated from.
  38.         The unregistered version is freely  distributable  as long as all
  39. files listed  below  are  copied  together  with  the  main  program.  No
  40. modification must be done to any of the files.
  41.         PD collectors are invited to  include the unregistered version of
  42. Calorie Counter Diary in their  library,  as  long as the same conditions
  43. mentioned above are met.
  44.         These files must be left as they are:-
  45.                       CalCount         Program
  46.                       CalCount.guide   Docs using AmigaGuide or Multiview
  47.                       CalCount.txt     Docs using ppmore
  48.                       Things/          Directory
  49.                         B.Shape            |   These files
  50.                         Food.data          |  are needed by
  51.                         Sweet              |   the program
  52.  
  53.                                Disclaimer
  54.                               ------------
  55.  
  56.         All risks, damages, incidental or  otherwise, arising through the
  57. use or misuse of this program  are  entirely at the responsibility of the
  58. user.
  59.         While considerable effort has  been  made  to  provide you with a
  60. reliable product, there is no guarantee  that  this program is 100% "bug-
  61. free". Any problem arising will be corrected when and if feasible.
  62.         Upgrade releases will  be  made  available  in  order  to correct
  63. potential bugs  within  the  program  and  if  feasible  added  functions
  64. suggested by you, the  users  of  this  program.  This does not guarantee
  65. future versions or upgrades of this product.
  66.  
  67.                             What does it do?
  68.                            ------------------
  69.  
  70.         Calorie Counter Diary, breaks down and totals your daily calories
  71. consumed, into four important nutrients, needed for a healthy body. These
  72. nutrients are, proteins, carbohydrates, fats and fibre.
  73.         On  the  amount  of  calories  consumed,  the  program,  makes  a
  74. recommendation on the amount of nutrients  that  should be consumed for a
  75. healthy diet.  Your daily totals, consumed and recommended, are recorded.
  76. Up to 365 days (one year),  are  kept,  after which the program starts to
  77. delete the first day's  recorded  and  replaces  it  by the present day's
  78. totals. In this way, after a year,  using  the program, you always have a
  79. year of recorded data to look back to.
  80.         The program, also keeps a daily list of foods consumed. This list
  81. is updated daily. A weekly  check  of  your  weight is also requested and
  82. recorded by the program.
  83.  
  84.                              Configurations
  85.                             ----------------
  86.  
  87.         This program requires Workbench 2.0 or  higher and at least 1 meg
  88. of memory. It has been tested on an Amiga 600, 1200, 2000 and 3000.
  89.         Once loaded the program checks,  automatically,  for PAL or NTSC,
  90. and adjusts all displays to that environment.
  91.  
  92.                            Evaluation Version
  93.                          ----------------------
  94.  
  95.         In the evaluation/unregistered version,  you  have limited access
  96. to some of the options.
  97.  
  98.     1) A reminder page, reminding the user to register.
  99.     2) This version  contains  about  300  products  only.  The  full
  100.        version contains nearer to 1000 products.
  101.     3) Adding  Products,  although  allowed to be made by the system,
  102.        cannot be saved.
  103.  
  104.                                   Usage
  105.                                  -------
  106.  
  107.         Calorie Counter Diary, does not presume  to  tell you how to lose
  108. or gain weight, but leaves that to learned nutritionists.
  109.         If you're already on a diet, continue to use your preferred diet,
  110. and use this program to count your calories for you.
  111.         This is an intelligent  program,  in  so  much  as  it checks and
  112. instruct the user how to enter the  required information and if a mistake
  113. is made, it informs the user  of  his/her  mistake. But, it also requires
  114. and expects the user to have  some  intelligence in return. When entering
  115. your data,  be  truthful  and  don't  try  to  enter  exaggerated values.
  116. Remember, `garbage in garbage out'.
  117.  
  118.                              Getting started
  119.                             -----------------
  120.  
  121.         Having loaded the program,  press  the  `Return'  key or the `OK'
  122. button to clear the info window.  If  you  are using the evaluation copy,
  123. the program will open another  window  informing  you  on how to obtain a
  124. full copy. Press the  `Return'  key  or  the  `OK'  button  to clear this
  125. window.
  126.         The program is divided into  three  editors, the Main Editor, the
  127. Product`s Editor and  the  Confess  Editor.  The  data is interchangeable
  128. between editors, that is you  can  change  from  editor to editor without
  129. losing the data.
  130.         When you first load the program,  the Main Editor is entered. You
  131. will notice that most of the  menu  function are switched off. These will
  132. become functional after you create or  load  a user`s file. You can enter
  133. the Products Editor at any time.
  134.  
  135.                              The Main Editor
  136.                             -----------------
  137.  
  138.         The Main Editor deals with  the  setting of preferences, entering
  139. and accessing user files, and the access to the user's progress.
  140.         When you enter this editor  the  program displays the user's name
  141. and the date at all  times.  If  you  haven't  created or loaded a user's
  142. file, `none' loaded is indicated. If you  have a clock on your system the
  143. correct date will be shown. If on the  other hand you are using a machine
  144. without a clock you have to set the date manually.
  145.         Before a new user's record is  opened, it is recommended that the
  146. preferences are set, as these are saved  with the user's file. The reason
  147. for this, is, so that each user can  choose his or hers preferred type of
  148. values for height and weight. See `Set Height' and `Set Weight'.
  149.         What follows is a list of  functions  and commands as they appear
  150. on the menu.
  151.  
  152.  
  153. [Project/Products Editor]
  154.  
  155.         Used to enter the products editor.  See section about this editor
  156. for more information.
  157.  
  158. [Project/Confess Editor]
  159.  
  160.         Used to enter the confess editor.  This editor is only functional
  161. if a user's record has  been  loaded  in  memory.  See section about this
  162. editor for more information.
  163.  
  164. [Project/Info]
  165.  
  166.         Who wrote this program
  167.  
  168. [Project/Quit]
  169.  
  170.         Exit the program. If any  changes  have  been  made to either the
  171. user's file or to the food.data, the program  will ask you if you wish to
  172. save the changes are not. Two types  of  data saving is required. One for
  173. the user's records and  one  for  the  products  data. The system informs
  174. which is which.
  175.  
  176. [File/New User]
  177.  
  178.         A new window opens showing a  form to be filled. This information
  179. is needed to calculate your desirable weight.
  180.         Enter your name and age. State your sex, male or female, followed
  181. by entering your height and  weight  in  your chosen value format. Inform
  182. the program, the type  of  body  you  have,  small,  medium  or large, by
  183. pressing the appropriate  button.  When  all  the  informations  has been
  184. entered press the "Done" button.
  185.         To use the help button, place the  cursor on the button or window
  186. required and press  the  help  button.  The  program  will  give  you the
  187. required information, try it on name and sex.
  188.         Pressing the "Done" key will take  the program to the next stage,
  189. asking you to select a `Special Day'.  A special day is a day selected by
  190. you as the day you wish to be reminded by the system to weigh yourself.
  191.         According to your weight the  program  will assess your progress.
  192. For now select  a   day  by  pressing  one  of  the  buttons,  Sun(day) -
  193. Sat(erday). See command `Special Day' for more information.
  194.         Your individual `Height-Weight Chart' is now drawn, showing  your
  195. weight and what desirable weight should  be. Full information is given by
  196. the system on screen.
  197.  
  198. [File/Edit Detail]
  199.  
  200.         This function allows you  to  make  changes to previously entered
  201. user's information. The same  procedure  as  for  "New User" is followed,
  202. except that, after  pressing  "Done",  the  program  does  not  ask for a
  203. special day, and does not show you the `Height-Weight Chart'. Remember to
  204. save any changes made.
  205.  
  206. [File/Special Day]
  207.  
  208.         Once a week  the  program  will  ask  you  to  weigh yourself and
  209. according to your weight it assesses  your  progress. The program keeps a
  210. list of up to  52  weeks,  after  which,  it  will  delete the first week
  211. entered, moves all the  weeks  back  by  one  week   and inserts your new
  212. weight at the top of the  record,  therefore  after  a year in use, there
  213. will always be a year of information to look back at.
  214.         Select a special day by pressing  one  of the buttons, Sun(day) -
  215. Sat(erday). This day can be changed  at  any  time. Remember to save your
  216. changes.
  217.  
  218. [File/Load]
  219.  
  220.         Allows you load a user's file.  When  the file selector opens, if
  221. you are using a Workbench 2, the program only shows directories and files
  222. ending with .name. If you  are  using  any other Workbench, please select
  223. the file with this ending (.name) to load.
  224.         If it is not a new  record  the  program  checks when it was used
  225. last, and displays a message saying  when  it  was last used and the date
  226. showing as today`s date. Select the appropriate button.
  227.         `Use Old Date', to continue  using  the  old date. This gives you
  228. the freedom to enter what  you  consumed  at intervals. Using this button
  229. allows you to continue to report your day's confession.
  230.         `Use Date Showing'. when  you  have  finished entering last day's
  231. confession, select this button to move to a new date.
  232.         `Change Date' allows you  to  enter  a  date  of your choice. You
  233. cannot enter a date older than your the last date entered.
  234.         If you have been on  holiday,  or  have  not used the program for
  235. more than a day, the program  will  fill  the day/s with an average. This
  236. will be reflected in the `Day by Day' list.
  237.         When a user's record  is  loaded  the  system  loads and sets the
  238. preferences for that user as well.
  239.  
  240. [File/Save]
  241.  
  242.         Allows you to save  a  user's  file.  It  is recommended that the
  243. file's name should be that of the user. ie John, Mary etc.,
  244.         When you open a  new  record  the  program  opens  four files and
  245. ending them with .ate, .days, .pro, .name.
  246.         The one of interest to you is the one ending with (.name). Do not
  247. try to load any of the other  files  when  asked to load a user's file as
  248. this may give you a visit from Mr. Guru.
  249.  
  250. [Analysis/Day By Day]
  251.  
  252.         Using bar-charts, this  functions  displays  your daily progress,
  253. day by day. Green bar-charts  represent  what the program recommended and
  254. the red bar-chart what you actually consumed.
  255.         Use the left arrow button to  view  previous day, and right arrow
  256. button to view next days  food  consumed.   The  double arrow buttons are
  257. used to move to the first or last  day input. Left or right keyboard keys
  258. can be used as well. Use shift and left or right key to move to first day
  259. or last day.
  260.  
  261. [Analysis/Progress to-Date]
  262.  
  263.         Selecting this function, the  program  will display your progress
  264. to-date.  All your weigh-ins (up  to  52  weeks)  are listed. Your energy
  265. consumed since your last weigh-in and  an average calories consumed since
  266. you started to use the program.
  267.  
  268. [Analysis/Desired Weight]
  269.  
  270.         This function, displays a chart,  showing your present weight and
  271. height in comparison to what your desirable weight should be.
  272.  
  273. [Preferences/Change Date]
  274.  
  275.         Enter the date  as  instructed  by  the  program.  The date entry
  276. format must be day/mount/year. Once entered the new date will show on the
  277. Main editor's window. If a user's  record  is  in memory, the system will
  278. not accept a date lower then the present date.
  279.  
  280. [Preferences/Height/]
  281.  
  282.         Select choice of values  in  `Metres'  or  `Feet  & Inches'. Once
  283. selected the program will display and  expect height input  values in the
  284. selected format.
  285.  
  286. [Preferences/Weight/]
  287.  
  288.  
  289.         Select `Kilograms', `Stones &  Pound'  or `Pounds'. Once selected
  290. the program will display and expect  values  in the selected format. This
  291. only effects the values for the user's weight. The food nutrients are not
  292. effected and are always shown in grams.
  293.  
  294.                              The Products Editor
  295.                             ---------------------
  296.  
  297.         This editor is used to view the products, together with the brand
  298. name and nutrients values. This program can hold up to 10,000 products in
  299. memory. This obviously  depends  on  how  much  memory  you  have on your
  300. computer. An average of 45 bytes of  memory is required for every product
  301. entered. A quick sum will show  that,  to use all 10,000 places, requires
  302. 450,000 bytes.
  303.         You will be surprised to find,  that an average person eats about
  304. 300 different types food and no more.  Therefore  if you haven't a lot of
  305. memory on your computer, you will be  able to delete some of the products
  306. that you do not use and replace them by the ones you eat.
  307.         When you enter this editor you  will  be given a list of products
  308. in alphabetical order.  For  each  food  item,  the  program displays the
  309. Product's Name, Brand's  Name  and  the  values  for  calories, proteins,
  310. carbohydrate, fat and fibre.  All  values  are  calculated  on either 100
  311. grams, 100 millilitres or portions. This is indicated  by a g, m, or p in
  312. the appropriate column.
  313.  
  314. Cursor movements
  315.  
  316.         To move from product to product, use  the up and down cursor keys
  317. or press the up or down buttons.
  318.         Shift/up or shift/down keys to move  a  page  up or down or press
  319. the double up or down buttons.
  320.         Ctrl/up or Ctrl/down to move to  start or bottom of products list
  321. or use up/line or down/line buttons.
  322.         The square button in the middle is not functional.
  323.  
  324. [Products/Add]
  325.  
  326.         This command allows you to  add  new  food  items to the products
  327. list. When chosen the program displays a form to be filled.
  328.         Enter the name of  the  product  followed  by the product's brand
  329. name, if any.
  330.         The nutrition information  must  be  entered  in  100  grams, 100
  331. millilitres or portions depending on  the  product.  Portions can be, for
  332. example, a slice of bread, a  bar  of  chocolate, and so on. These values
  333. can be found on most tins, packets,  bottles, etc. For items that are not
  334. packaged, you might consider buying one of the many calorie counter books
  335. available. For  example,  Collins  Gem,  Calorie  Counter  or  Dr. Amanda
  336. Roberts, Count your Calories.
  337.         If a value is  not  known,  just  press  return, the program will
  338. change this to n/a, not available.  Remember,  you do not enter n/a, just
  339. press the return key. Same goes to  0  value, you enter 0 and the program
  340. will display this as `nil'.
  341.         Taking a tin of `HP Baked Beans' as an example, you will see that
  342. the nutrition information given on tin reads:-
  343.  
  344.                         100g provides:
  345.                         -----------------------------
  346.                         Energy           290kj/68kcal
  347.                         -----------------------------
  348.                         Protein                  4.6g
  349.                         -----------------------------
  350.                         Carbohydrate            11.2g
  351.                         (of which sugars         6.3g)
  352.                         -----------------------------
  353.                         Fat                      0.6g
  354.                         (of which saturates     0.15g)
  355.                         ------------------------------
  356.                         Sodium                  0.47g
  357.                         -----------------------------
  358.                         Dietary Fibre            7.3g
  359.                         -----------------------------
  360.  
  361.         From this information we will  enter, Product's Name=Baked Beans,
  362. Brand's Name=HP, Calories=68, Protein=4.6, Carbohydrate=11.2, Fat=0.6 and
  363. Dietary Fibre=7.3. Since these values  are  taken  from a 100 gram value,
  364. press the appropriate button.
  365.         When ready, you  can  press  the  NEXT  button  to  enter another
  366. product or ALL DONE when you  have  finished.  The program will place the
  367. new entries in  alphabetical  order  when  the  ALL  DONE  key is pressed
  368. otherwise it places the last  entry  at  the  top  of the list. These new
  369. entries are stored in memory and you  must  remember to save them on disk
  370. before you exit the program.
  371.  
  372. [Product/Edit]
  373.  
  374.         Place the cursor line over the product you wish to edit and press
  375. the return key. Use same procedure as Add Product.
  376.  
  377. [Product/Delete]
  378.  
  379.         Place the cursor line over  the  product  you  wish to delete and
  380. press the return key.
  381.  
  382. [Product/Find]
  383.  
  384.         Enter any part of the  product  in  question and press the return
  385. key. If found the program will indicate  the product found by placing the
  386. cursor key over it.  You can  use  this  command  as well, by placing the
  387. mouse button over the find window and pressing the left mouse button. You
  388. may now enter the products name.
  389.  
  390. [Product/Next]
  391.  
  392.         The program always remembers  the  last  product found. Selecting
  393. this menu command  or  pressing  the  equivalent  button  will  force the
  394. program to search for the product in question.
  395.  
  396. [Product/Top]
  397.  
  398.         Forces the program to go to the top of the list.
  399.  
  400. [Product/Bottom]
  401.  
  402.         Forces the program to go to the bottom of the list.
  403.  
  404. [Product/Save]
  405.  
  406.         This should not be  confused  with  File/Save. This command saves
  407. the food.data in its appropriate  directory  under its predetermined file
  408. name.  This procedure  is  only  available  to  registered  users. If you
  409. haven't registered, why not do so now?
  410.  
  411.                              The Confess Editor
  412.                             --------------------
  413.  
  414.         The confess editor is where  you  tell  the program what you have
  415. eaten. This editor is  only  functional  if  a  user's  file is loaded in
  416. memory. When you enter  this  editor  the  program  displays  the list of
  417. products and their brand names. On the  top right hand side of the screen
  418. the food consumed totals are also displays. If it's your first confession
  419. of the day, these totals  will  show  zero,  otherwise they will show the
  420. last totals.
  421.         In this editor the `find' and `next' commands are very useful. To
  422. confess, move the cursor  line  over  the  product  in question and press
  423. return. The centre square button can  be  used instead of the return key.
  424. The program will  now  display  a  small  window  asking  for  the amount
  425. consumed.  Enter  the  amount  in  grams,  millilitres  or  portions,  as
  426. instructed and press the return key followed by another hit of the return
  427. key or the Except button.  The  program  will calculate the nutrients and
  428. adds them to the totals.
  429.         You do not need to enter the full days confession. You may if you
  430. wish, enter what you had up to  say  lunch, and then afterwards enter the
  431. rest of the day's food eaten, its up to you.
  432.  
  433. [Products/{Add|Find|Next|Top|Bottom|Save}]
  434.  
  435.         These commands are the same as  those  in the Products editor. To
  436. find how to use these  commands  see `Main Editor/Products/'. Remember to
  437. save any changes you make after using these commands.
  438.  
  439. [Consumed/List & Edit]
  440.  
  441.         This command  takes  you  to  another  window  and  displays your
  442. confessed list in more  detail.  It  is  also  used  to  delete a wrongly
  443. confessed food item.  To delete  a  confessed  item, move the cursor line
  444. over the product in question and press return.
  445.  
  446. [Consumed/Print List]
  447.  
  448.         Allows you to send the confessed list to a printer.
  449.  
  450. [Consumed/Save Changes]
  451.  
  452.         Used to save your confession. Confessions  only are saved, and if
  453. you have done any changes to the food data they are not effected. To save
  454. the food data you must use the products/save.
  455.  
  456.  
  457.                              Final Comments
  458.                             ----------------
  459.  
  460.         Well, there you have it. I  hope  you find this program useful to
  461. use and as bug free as possible.  If  you have any comments to make about
  462. the program, good or bad, I would  like  to hear from you. Address can be
  463. found below.
  464.  
  465.         Finally, I would like to  thank  Robert  Thompson and Alan Wilson
  466. for beta testing this program.
  467.  
  468. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  469.  
  470.                            Registration Form
  471.                           -------------------
  472.  
  473.         If you use Calorie Counter on  a regular basis, you must register
  474. your version. The registration  fee  10  pounds  sterling. This will help
  475. support and encourages future releases.  For  your money you will receive
  476. the latest versions of Calorie Counter Diary.
  477.  
  478.         Please send Check or (UK only) Postal Order to:
  479.  
  480.                           John J. Cassar
  481.                           31, St. Mungo Avenue
  482.                           Townhead
  483.                           Glasgow G4 OPG
  484.                           Scotland
  485.  
  486.  
  487.         You may like to print out on your printer this registration form,
  488. fill it out, and send it to  me  at  the address listed above. Please use
  489. block letters.
  490.  
  491.  
  492.  Name:___________________________________________________________________
  493.  
  494.  
  495.  Address:________________________________________________________________
  496.  
  497.  
  498.  City:____________________________Country:_______________________________
  499.  
  500.  
  501.  Computer Type:__________________________________________________________
  502.  
  503.  
  504.  Date_____________________   Signature___________________________________
  505.  
  506.  
  507.  
  508.  
  509. -------------------------------------------------------------------------
  510.                       -----  Be Kind To Animals  -----
  511. -------------------------------------------------------------------------
  512.  
  513.  
  514.